/*
 * @Author: qinglong
 * @Date: 2021-03-30 10:15:33
 * @LastEditors: qinglong
 * @LastEditTime: 2021-04-22 16:47:22
 * @FilePath: \systemCenter\src\api\ftpManage\expricingApi.js
 * @Description: 
 */
// 引入工具类
import axios from '../config'

// 使用
const URL = 'api-ftp' // 公共前缀地址
export const expricing = {
    //分页查询 查询所有业务元素
    findAll(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/index', data)
    },
    execute(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/excute', data)
    },
    //跳转到监控页面查询数据
    toMonitor(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/toMonitor', data)
    },
    //异常定价结果页面跳转数据
    toResult(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/toResult', data)
    },
    //异常定价结果页面跳转数据
    findAllExResult(data) {
        return axios.post(URL + '/ftp/expositionResult/result/findAll', data)
    },
    //查看现金流 
    showCashFlow(data) {
        return axios.post(URL + '/ftp/expositionResult/result/showCashFlow', data)
    },
    //查看详情
    toForm(data) {
        return axios.post(URL + '/ftp/expositionResult/result/toForm', data)
    },
    //导出异常结果数据
    expExpricingResult(data) {
        return axios.exportFile(URL + '/ftp/expositionResult/result/exp', data)
    },
    //导出现金流
    expExpricingResult(data) {
        return axios.exportFile(URL + '/ftp/expositionResult/result/expCashFlow', data)
    },
     //停止异常定价ftp/pricingManage/expricingTask/resume
     stopExPricing(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/stop', data)
    },
     //继续异常定价
     resume(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/resume', data)
    },
    //导出执行几率
    expExcuteRecord(data) {
        return axios.exportFile(URL + '/ftp/pricingManage/pricingRecord/exp', data)
    },

     //定价引擎任务 --
     toBlockDetail(data) {
        return axios.post(URL + '/ftp/pricingManage/expricingTask/toBlockDetail', data)
    },
     //定价引擎任务 --
     checkCurrentOrganPrivilege(data) {
         return axios.post(URL + '/ftp/expositionResult/result/checkCurrentOrganPrivilege', data)
     },
    




}